package commonInfrastructure.medicalJournal;

import entity.MedicalJournal;
import java.util.List;
import javax.ejb.Remote;

@Remote
public interface MedicalJournalSessionRemote {

    Long createJournal(String content, String name, String user);

    void delete(Long id, String user);

    String getContent();

    List<MedicalJournal> listJournal(String user);

    void setContent(String content);

    void update(String name, String journal, Long id);
    
    MedicalJournal getJournal(Long id);
    
}
